ASP.NET MVC Controls | ComponentOne
C1.Web.Mvc Namespace / ListBox<T> Class / SelectedIndex Property

In This Topic
    SelectedIndex Property (ListBox<T>)
    In This Topic
    Gets or sets the index of the currently selected item in the list.
    Syntax
    'Declaration
     
    
    <DefaultValueAttribute(-1)>
    Public Property SelectedIndex As Integer
    [DefaultValue(-1)]
    public int SelectedIndex {get; set;}
    See Also